import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/positioning'
  },
  {
    path: '/financialData',
    name: 'financialData',
    component: () => import('@/views/financialData/financialData.vue')
  },
  {
    path: '/map',
    name: 'map',
    component: () => import('@/views/map.vue')
  },
  {
    path: '/positioning',
    name: 'positioning',
    component: () => import('@/views/positioning/index.vue')
  }
]


const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
